package com.tracesystem.service;

import com.tracesystem.commons.Result;
import com.tracesystem.controller.Info.AllSeverityPageInfo;
import com.tracesystem.controller.form.*;
import com.tracesystem.model.IssueSeverity;
import com.baomidou.mybatisplus.extension.service.IService;

/**
 * <p>
 *  严重程度服务类
 * </p>
 *
 * @author Kevin Martin
 * @since 2022-03-23
 */
public interface IssueSeverityService extends IService<IssueSeverity> {
    //修改严重程度分类
    public Result<?> updateSeverityDesc(RenewalSeverityDescForm renewalSeverityDescForm);
    //修改严重程度状态
    public Result<?> updateSeverityModuleState(RenewalSeverityModuleStateForm renewalSeverityModuleStateForm);
    //模糊查询严重程度分类
    public Result<AllSeverityPageInfo> findPageSeverityListBySeverityDesc(LikeSeverityListForm likeSeverityListForm);
    //查询所有严重程度分类
    public Result<AllSeverityPageInfo> getAllTypeList(FindAllSeverityListForm findAllSeverityListForm);

    //添加
    Result<?> insertSeverity(AddSeverityForm addSeverityForm);

    //删除
    Result<?> delectSeverity(RemoveSeverityForm removeSeverityForm);

    //批量删除
    Result<?> delectSeverityList(RemoveSeverityListForm removeSeverityListForm);
}
